﻿using Dapper.Contrib.Extensions;
using IntelligentGateway.Model.Attribute;
using IntelligentGateway.Model.Interface;
using System;
using System.Collections.Generic;
using System.Text;

namespace IntelligentGateway.Model
{
    [Serializable]
    [Table("UserInfo")]
    public class UserInfo :IBase
    {
        [Key]
        public int ID { get; set; }      
        public string UserName { get; set; }
        public string LoginCode { get; set; }
        public int ProjectID { get; set; }
        [Ignore]
        public string Password { get; set; }
        [Write(false)]
        [Ignore]
        public string Token { get; set; }
        [Write(false)]
        [Ignore]
        public int? TotalRecords { get ; set ; }
    }
}
